import base from '@/util/api/HttpBase.js';
import axios from '@/util/http.js';
const article = {
    // 登录
    login(params) { return axios.post(`${base.localhost}/user/auth`, params) },
    // // 注册
    register(params) { return axios.post(`${base.localhost}/user/registered`, params) },
    // //获取用户身份信息
    get_information() { return axios.get(`${base.localhost}/user/getInformation`) },

    get_Search(params) { return axios.get(`${base.localhost}/user/search`,params) }
}
export default article;